/*
 * @Author: your name
 * @Date: 2021-05-26 16:45:29
 * @LastEditTime: 2021-06-06 14:07:06
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /xiangpan-admin/src/services/pages.ts
 */
import { request } from '@/utils/request';

export const get_stores = () => {
  return request.post('/pages/get_stores');
};

export const get_chains = () => {
  return request.post('/pages/get_chains');
};

export const get_admin_list = (data: any) => {
  return request.post('/pages/get_admin_list', data);
};

export const delete_admin = (data: any) => {
  return request.post('/pages/delete_admin', data);
};

export const add_admin = (data: any) => {
  return request.post('/pages/add_admin', data);
};
export const edit_admin = (data: any) => {
  return request.post('/pages/edit_admin', data);
};

export const get_chain_list = (data: any) => {
  return request.post('/pages/get_chain_list', data);
};
export const add_chain = (data: any) => {
  return request.post('/pages/add_chain', data);
};
export const edit_chain = (data: any) => {
  return request.post('/pages/edit_chain', data);
};
export const delete_chain = (data: any) => {
  return request.post('/pages/delete_chain', data);
};
export const get_store_list = (data: any) => {
  return request.post('/pages/get_store_list', data);
};
export const add_store = (data: any) => {
  return request.post('/pages/add_store', data);
};
export const edit_store = (data: any) => {
  return request.post('/pages/edit_store', data);
};

export const delete_store = (data: any) => {
  return request.post('/pages/delete_store', data);
};
export const get_goods_list = (data: any) => {
  return request.post('/pages/get_goods_list', data);
};
export const delete_goods = (data: any) => {
  return request.post('/pages/delete_goods', data);
};
export const add_goods = (data: any) => {
  return request.post('/pages/add_goods', data);
};
export const edit_goods = (data: any) => {
  return request.post('/pages/edit_goods', data);
};

export const get_staff_list = (data: any) => {
  return request.post('/pages/get_staff_list', data);
};
export const delete_staff = (data: any) => {
  return request.post('/pages/delete_staff', data);
};
export const add_staff = (data: any) => {
  return request.post('/pages/add_staff', data);
};
export const edit_staff = (data: any) => {
  return request.post('/pages/edit_staff', data);
};

export const get_box_list = (data: any) => {
  return request.post('/pages/get_box_list', data);
};
export const delete_box = (data: any) => {
  return request.post('/pages/delete_box', data);
};
export const add_box = (data: any) => {
  return request.post('/pages/add_box', data);
};
export const edit_box = (data: any) => {
  return request.post('/pages/edit_box', data);
};

export const get_project_list = (data: any) => {
  return request.post('/pages/get_project_list', data);
};
export const delete_project = (data: any) => {
  return request.post('/pages/delete_project', data);
};
export const add_project = (data: any) => {
  return request.post('/pages/add_project', data);
};
export const edit_project = (data: any) => {
  return request.post('/pages/edit_project', data);
};

export const get_vip_list = (data: any) => {
  return request.post('/pages/get_vip_list', data);
};
export const edit_vip = (data: any) => {
  return request.post('/pages/edit_vip', data);
};

export const get_user_list = (data: any) => {
  return request.post('/pages/get_user_list', data);
};
export const delete_user = (data: any) => {
  return request.post('/pages/delete_user', data);
};
export const add_user = (data: any) => {
  return request.post('/pages/add_user', data);
};
export const edit_user = (data: any) => {
  return request.post('/pages/edit_user', data);
};

export const get_store_projects = (data: any) => {
  return request.post('/pages/get_store_projects', data);
};
export const vip_user_right = (data: any) => {
  return request.post('/pages/vip_user_right', data);
};
export const get_recharge_list = (data: any) => {
  return request.post('/pages/get_recharge_list', data);
};
export const get_consume_list = (data: any) => {
  return request.post('/pages/get_consume_list', data);
};

export const get_staff_status = (data: any) => {
  return request.post('/pages/get_staff_status', data);
};
export const get_box_status = (data: any) => {
  return request.post('/pages/get_box_status', data);
};

export const cancel_schedule = (data: any) => {
  return request.post('/pages/cancel_schedule', data);
};

export const get_schedule_list = (data: any) => {
  return request.post('/pages/get_schedule_list', data);
};
export const get_box_staff = (data: any) => {
  return request.post('/pages/get_box_staff', data);
};
export const appointment_project = (data: any) => {
  return request.post('/pages/appointment_project', data);
};
export const get_appointment_user = (data: any) => {
  return request.post('/pages/get_appointment_user', data);
};
export const get_service_order = (data: any) => {
  return request.post('/pages/get_service_order', data);
};
export const start_project = (data: any) => {
  return request.post('/pages/start_project', data);
};
export const buy_goods = (data: any) => {
  return request.post('/pages/buy_goods', data);
};
export const today_info = (data: any) => {
  return request.post('/pages/today_info', data);
};

export const change_order_status = (data: any) => {
  return request.post('/pages/change_order_status', data);
};

export const get_box_project = (data: any) => {
  return request.post('/pages/get_box_project', data);
};

export const apply_add_bell = (data: any) => {
  return request.post('/pages/apply_add_bell', data);
};

export const change_bell_status = (data: any) => {
  return request.post('/pages/change_bell_status', data);
};

export const get_bell_list = (data: any) => {
  return request.post('/pages/get_bell_list', data);
};
export const get_user_rights = (data: any) => {
  return request.post('/pages/get_user_rights', data);
};
export const get_order_detail = (data: any) => {
  return request.post('/pages/get_order_detail', data);
};
